package com.zw.hrm.service;

import com.zw.hrm.doc.CourseDoc;
import com.zw.hrm.domain.Course;
import com.baomidou.mybatisplus.service.IService;
import com.zw.hrm.dto.CourseSaveDTO;
import com.zw.hrm.query.CourseQuery;
import com.zw.hrm.util.PageList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zw
 * @since 2020-02-21
 */
public interface ICourseService extends IService<Course> {

    void saveOrUpdate(CourseSaveDTO courseSaveDTO);

    void onLineCourse(Long id);

    void offLineCourse(Long id);

    PageList<CourseDoc> queryCourses(CourseQuery courseQuery);
}
